﻿using System;

namespace good1.Data.Extensions
{
    public static class StringExtensions
    {
        //http://stackoverflow.com/questions/444798/case-insensitive-containsstring
        public static bool Contains(this string source, string toCheck, StringComparison comp)
        {
            return source.IndexOf(toCheck, comp) >= 0;
        }

    }
}
